From 5f065ba906cf174459f50c647ff810f866144243 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Wed, 23 Aug 2006 13:21:02 -0600 Subject: [PATCH] [IA64] Modify xc_ia64_hvm_build for using the new Xen event channels Signed-off-by: Tsunehisa Doi Signed-off-by: Tomonari Horikoshi --- tools/libxc/ia64/xc_ia64_hvm_build.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tools/libxc/ia64/xc_ia64_hvm_build.c b/tools/libxc/ia64/xc_ia64_hvm_build.c index ededfe6e5d..ce90475007 100644 --- a/tools/libxc/ia64/xc_ia64_hvm_build.c +++ b/tools/libxc/ia64/xc_ia64_hvm_build.c @@ -553,7 +553,6 @@ setup_guest(int xc_handle, uint32_t dom, unsigned long memsize, { unsigned long page_array[2]; shared_iopage_t *sp; - int i; unsigned long dom_memsize = (memsize << 20); DECLARE_DOM0_OP; @@ -605,18 +604,6 @@ setup_guest(int xc_handle, uint32_t dom, unsigned long memsize, goto error_out; memset(sp, 0, PAGE_SIZE); - - for (i = 0; i < vcpus; i++) { - uint32_t vp_eport; - - vp_eport = xc_evtchn_alloc_unbound(xc_handle, dom, 0); - if (vp_eport < 0) { - DPRINTF("Couldn't get unbound port from VMX guest.\n"); - goto error_out; - } - sp->vcpu_iodata[i].vp_eport = vp_eport; - } - munmap(sp, PAGE_SIZE); return 0; -- 2.30.2